package whf.shop.service;

import whf.framework.exception.ServiceNotFoundException;
import whf.framework.util.BeanFactory;
import whf.shop.dao.CountryDAO;
import whf.shop.entity.Country;

/**
 * 服务对象具体实现，委托相应的dao对象实现相关操作
 * 
 * @author wanghaifeng
 * @email king@126.com
 * @modify 2007-01-11
 */
public class CountryServiceImp extends whf.framework.service.ServiceImp<Country>
		implements CountryService {

	private CountryDAO countryDAO;

	public void setCountryDAO(CountryDAO countryDAO) {
		this.countryDAO = countryDAO;
	}

	public static CountryService getCountryService()
			throws ServiceNotFoundException {
		return (CountryService) BeanFactory.getService(CountryServiceImp.class);
	}

}